<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>太只因</title>
</head>
<style>
    *{
        padding: 0;
        margin: 0;
    }
    div{
        width: 240px;
        height: 120px;
        border-width: 2px 2px 120px 2px;
        border-style: solid;
        border-color: #000;
        margin: 140px auto;
        border-radius: 50%; 
        position: relative;
    }
    div::before,div::after{
        content: "";
        width: 28px;
        height: 28px;
        position: absolute;
        top: 50%;
        background: #fff;
        border-radius: 50%;
        border: 46px solid #000;
    }
    div::after{
        left: 50%;
        background: #000;
        border: 46px solid #fff;
    }
    div:hover{
        transition-property: transform;
        transition-duration: 2s;
        transition-timing-function:ease-out;
        animation: circling 1s linear 0s infinite;
        /* transform: rotateX(360deg); */
    }
    

@keyframes circling{
    from {
    transform: rotate(0deg);
    }
    to {
    transform: rotate(360deg);
    }

} 


</style>
<body>
    <div></div>
</body>
</html>